import request from '../utils/request';
import { objectToFormData } from '@/utils/formDataFormat';


  // 登录
  export function APIFetchUserLogin(data: any) {
    return request({
      url: 'http://119.3.218.94:5000/api_1_0/ssoUser/syslogin',
      method: 'post',
      data:objectToFormData(data),
    });
  }
  // 获取用户信息
  export function getUserInfo() {
    return request({
      url: '/user/info',
      method: 'get',
    });
  }
  // 修改密码
